package com.ruoyi.labdata.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实验室黑名单基本信息对象 lab_blacklist
 * 
 * @author ruoyi
 * @date 2022-04-02
 */
public class LabBlacklist extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long blacklistId;

	// 实验室预约id
	private Long reservationId;

	/** 违规地点 */
	@Excel(name = "违规地点")
	private Long classRoomId;

	/** 实验项目 */
	@Excel(name = "实验项目")
	private String experimentalProject;

	/** 违反规定 */
	@Excel(name = "违反规定")
	private String violationInfo;

	/** 备注说明 */
	@Excel(name = "备注说明")
	private String comments;

	/** 违规时间 */
	@JsonFormat(pattern = "yyyy-MM-dd")
	@Excel(name = "违规时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date violationTime;

	/** 判定老师 */
	@Excel(name = "判定老师")
	private String judgeTeacher;

	/** 创建人员id */
	@Excel(name = "创建人员id")
	private Long createUserId;
	/**
	 * 是否已经提交.
	 */
	private Integer isCommitted;
	

	public Integer getIsCommitted() {
		return isCommitted;
	}

	public void setIsCommitted(Integer isCommitted) {
		this.isCommitted = isCommitted;
	}

	private List<LabFile> images;
	
	/*
	 * 查询映射字段
	 * 
	 * **/
	private String classRoom;
	private String nickName;
	private String userName;
	private String deptName;
	private Integer violateNum;
	private Integer isRemove;
	private Long deptId;
	private Long id;
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	// 预约人员
	private List<LabBlackPersonnelVo> labBlackPersonnelAppointmentVos;
	// 参与人员
	private List<LabBlackPersonnelVo> labBlackPersonnelParticipationVos;

	public List<LabBlackPersonnelVo> getLabBlackPersonnelAppointmentVos() {
		return labBlackPersonnelAppointmentVos;
	}

	public void setLabBlackPersonnelAppointmentVos(List<LabBlackPersonnelVo> labBlackPersonnelAppointmentVos) {
		this.labBlackPersonnelAppointmentVos = labBlackPersonnelAppointmentVos;
	}

	public List<LabBlackPersonnelVo> getLabBlackPersonnelParticipationVos() {
		return labBlackPersonnelParticipationVos;
	}

	public void setLabBlackPersonnelParticipationVos(List<LabBlackPersonnelVo> labBlackPersonnelParticipationVos) {
		this.labBlackPersonnelParticipationVos = labBlackPersonnelParticipationVos;
	}

	public Long getReservationId() {
		return reservationId;
	}

	public void setReservationId(Long reservationId) {
		this.reservationId = reservationId;
	}

	public List<LabFile> getImages() {
		return images;
	}

	public void setImages(List<LabFile> images) {
		this.images = images;
	}

	public void setBlacklistId(Long blacklistId) {
		this.blacklistId = blacklistId;
	}

	public Long getBlacklistId() {
		return blacklistId;
	}

	public void setClassRoomId(Long classRoomId) {
		this.classRoomId = classRoomId;
	}

	public Long getClassRoomId() {
		return classRoomId;
	}

	public String getExperimentalProject() {
		return experimentalProject;
	}

	public void setExperimentalProject(String experimentalProject) {
		this.experimentalProject = experimentalProject;
	}

	public void setViolationInfo(String violationInfo) {
		this.violationInfo = violationInfo;
	}

	public String getViolationInfo() {
		return violationInfo;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getComments() {
		return comments;
	}

	public void setViolationTime(Date violationTime) {
		this.violationTime = violationTime;
	}

	public Date getViolationTime() {
		return violationTime;
	}

	public String getJudgeTeacher() {
		return judgeTeacher;
	}

	public void setJudgeTeacher(String judgeTeacher) {
		this.judgeTeacher = judgeTeacher;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Long getCreateUserId() {
		return createUserId;
	}
	
	

	public String getClassRoom() {
		return classRoom;
	}

	public void setClassRoom(String classRoom) {
		this.classRoom = classRoom;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public Integer getIsRemove() {
		return isRemove;
	}

	public void setIsRemove(Integer isRemove) {
		this.isRemove = isRemove;
	}

	public Long getDeptId() {
		return deptId;
	}

	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}
	
	

	public Integer getViolateNum() {
		return violateNum;
	}

	public void setViolateNum(Integer violateNum) {
		this.violateNum = violateNum;
	}

	@Override
	public String toString() {
		return "LabBlacklist{" + "blacklistId=" + blacklistId + ", reservationId=" + reservationId + ", classRoomId="
				+ classRoomId + ", experimentalProjectId=" + experimentalProject + ", violationInfo='" + violationInfo
				+ '\'' + ", comments='" + comments + '\'' + ", violationTime=" + violationTime + ", judgeTeacherId="
				+ judgeTeacher + ", createUserId=" + createUserId + ", images=" + images
				+ ", labBlackPersonnelAppointmentVos=" + labBlackPersonnelAppointmentVos
				+ ", labBlackPersonnelParticipationVos=" + labBlackPersonnelParticipationVos + '}';
	}
}
